﻿// ***********************************************************************
// Assembly         : ElFinder.Net
// Author           : Lolo
// Created          : 06-05-2013
//
// Last Modified By : Lolo
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="OpenResponse.cs" company="">
//     Copyright (c) . All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.Runtime.Serialization;
using ElFinder.DTO;

namespace ElFinder.Response
{
    /// <summary>
    /// Class OpenResponse
    /// </summary>
    [DataContract]
    internal class OpenResponse : OpenResponseBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OpenResponse" /> class.
        /// </summary>
        /// <param name="currentWorkingDirectory">The current working directory.</param>
        /// <param name="fullPath">The full path.</param>
        public OpenResponse(DTOBase currentWorkingDirectory, FullPath fullPath)
            : base(currentWorkingDirectory)
        {
            Options = new Options(fullPath);
            _files.Add(currentWorkingDirectory);
        }
    }
}